#include "stm32f10x.h"                  // Device header
#include "Delay.h"
#include "OLED.h"
#include "CountSensor.h"

int main(void)
{
	OLED_Init();
	CountSensor_Init();
	
	OLED_ShowString(1, 1, "Count:");
	
	uint16_t count = 0;
	while(1) {
		count = CountSensor_Get();
		OLED_ShowNum(1, 7, count, 5);
	}
}
